package com.ding.custommanagersys.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ding.custommanagersys.bo.AreaBo;
import com.ding.custommanagersys.entity.Area;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ding
 * @since 2023-04-18
 */
public interface IAreaService extends IService<Area> {


    Page<Area> listAllArea(AreaBo bo);

    Integer addArea(Area area);

    Integer deleteArea(List<Integer> ids);

    Integer updateArea(Area area);

    Area getOneArea(int id);

    List<Area> listArea();

    Area getAreaByDet(Area area);

    Integer getMaxUid();
}
